﻿using EquipmentAlarmSystem.Service.Models.Enum;

namespace EquipmentAlarmSystem.Service.Models;

/// <summary>
/// 设备信息
/// </summary>
public class DeviceInformation
{
    public string Id { get; set; }

    /// <summary>
    /// 名称
    /// </summary>
    public string Name { get; set; }

    /// <summary>
    /// 描述
    /// </summary>
    public string Describe { get; set; }

    /// <summary>
    /// 联系人
    /// </summary>
    public List<Contact> Contacts { get; set; }

    /// <summary>
    /// 启用自动报警
    /// </summary>
    public bool EnableAutomaticAlarm { get; set; }

    /// <summary>
    /// 自动报警地址
    /// </summary>
    public string AutomaticAlarmAddr { get; set; }

    /// <summary>
    /// 通信协议
    /// </summary>
    public Protocol Protocol { get; set; }
}
